package com.ocm.core.dto;

import com.googlecode.simpleobjectassembler.annotation.EntityDto;

@EntityDto(id = "id")
public class SecurityDto {
   
   private Long userId;

   private Boolean hasUser;

   private Boolean hasGroup;

   private Boolean hasCreator;

   private Boolean hasAnonymous;

   private Integer accessMask;

   private UserInfoDto userInfo;

   public Long getUserId() {
      return userId;
   }

   public void setUserId(Long userId) {
      this.userId = userId;
   }

   public Boolean getHasUser() {
      return hasUser;
   }

   public void setHasUser(Boolean hasUser) {
      this.hasUser = hasUser;
   }

   public Boolean getHasGroup() {
      return hasGroup;
   }

   public void setHasGroup(Boolean hasGroup) {
      this.hasGroup = hasGroup;
   }

   public Boolean getHasCreator() {
      return hasCreator;
   }

   public void setHasCreator(Boolean hasCreator) {
      this.hasCreator = hasCreator;
   }

   public Integer getAccessMask() {
      return accessMask;
   }

   public void setAccessMask(Integer accessMask) {
      this.accessMask = accessMask;
   }

   public UserInfoDto getUserInfo() {
      return userInfo;
   }

   public void setUserInfo(UserInfoDto userInfoDto) {
      this.userInfo = userInfoDto;
   }

   public Boolean getHasAnonymous() {
      return hasAnonymous;
   }

   public void setHasAnonymous(Boolean hasAnonymous) {
      this.hasAnonymous = hasAnonymous;
   }
}
